#!/bin/bash
# 创建一个挂载光驱的脚本
mkdir -p /mnt/cdrom
mount /dev/cdrom /mnt/cdrom 2>/dev/null
if [ $? -eq 0 ]; then
    echo "光驱已成功挂载到 /mnt/cdrom"
else
    echo "光驱挂载失败，请检查设备是否存在或权限是否正确"
fi
